<template>
  <div>
    <div id="top">
      <span id="username">Hi，{{ username }}，{{ time }}</span>
      <span id="loginOut" style="float: right;">Hi，{{ username }}，{{ time }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'top',

  data() {
    return {
      username: "断尘",
      time: "上午好"
    };
  },

  mounted() {

  },

  methods: {

  },
};
</script>

<style scoped>
#top{
  height: 60px;
  background: white;
}
#username{
  margin: 20px 20px 20px 50px;
  //position: fixed;
}
#loginOut{
  margin: 20px 20px 20px 50px;
  margin-right: 50px;
  //margin-left: 1750px;
  //position: fixed;
}
</style>
